<%@ page language="java" contentType="text/html; charset=UTF-8" isELIgnored="false" pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
	<form id="freight_upload_submit_form" method="POST" action="
		<c:choose>
		    <c:when test="${sessionScope.gopay_webtest_URL_Name=='自定义'}">
		    	${sessionScope.gopay_webtest_URL.dom}
		    </c:when>
    		<c:otherwise>
				${sessionScope.gopay_webtest_URL.dom}${sessionScope.gopay_webtest_URL.cbrmb_freight_upload}
		    </c:otherwise>
    	</c:choose>"
		>
		<input type="hidden" id="version" name="version" value="${upload_submit_info.version }" size="50" /> 
		<input type="hidden" id="tranCode" name="tranCode" value="${upload_submit_info.tranCode }" size="50" /> 
		<input type="hidden" id="merchantId" name="merchantId" value="${upload_submit_info.merchantId }" size="50" /> 
		<input type="hidden" id="merOrderNum" name="merOrderNum" value="${upload_submit_info.merOrderNum }" size="50" />
		<input type="hidden" id="carrier" name="carrier" value="${upload_submit_info.carrier }" size="50" />
		<input type="hidden" id="freightNum" name="freightNum" value="${upload_submit_info.freightNum }" size="50" />
		<input type="hidden" id="freightType" name="freightType" value="${upload_submit_info.freightType }" size="50" />
		<input type="hidden" id="merchant_charset" name="charset" value="${upload_submit_info.charset }" size="50" />
		<input type="hidden" id="verfication_code" name="VerficationCode" value="${upload_submit_info.verficationCode }" size="50" />
		<input type="hidden" id="sign_value" name="signValue" value="${upload_submit_info.signValue }" size="50" />
	</form>
	<script type="text/javascript">
		
		if ($.browser.msie) {
			if (0 == window.history.length)
				$("#freight_upload_submit_form").submit();
		} else if ($.browser.mozilla) {
			if (1 == window.history.length)
				$("#freight_upload_submit_form").submit();
		} else if ($.browser.opera) {
			if (1 == window.history.length)
				$("#freight_upload_submit_form").submit();
		} else {//for webkit(Safari, Chrome...)
			if (1 == window.history.length){
				$("#freight_upload_submit_form").submit();
			}
		}
	</script>
